Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 816 Bytes

File metadata and controls

20 lines (13 loc) · 816 Bytes

Long Method

Definition:

  • It's where a method or function has too many responsibilities. Many times a method does not start off being too long, but over time it grows and grows, taking on additional responsibilities. This poses an issue when tests want to call into a method to do one thing, but will ultimately have multiple other things executed as well.

Also Known As:

  • Long Function

References:

Quality attributes